package com.ytkj.digitalConstruction.rabbit;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 与rabbitMQ相关配置变量
 * 
 * @author momei
 */
@Component
public class BaseVar {
	/** 普通消息队列 */
	 @Value("${spring.rabbitmq.messageQueue}")
	private String messageQueue;
	
	 /** 丁丁消息队列 */
	@Value("${spring.rabbitmq.messageDingQueue}")
	private String messageDingQueue;
	
	/** 用户接收消息详情的队列 */
	@Value("${spring.rabbitmq.MessageDetailsQueue}")
	private String messageDetailsQueue;
	
	/** 用户队列 */
	@Value("${spring.rabbitmq.userQueue}")
	private String userQueue;
	
	/** 部门队列 */
	@Value("${spring.rabbitmq.departmentQueue}")
	private String departmentQueue;
	
	/** 消息详情routingkey */
	@Value("${spring.rabbitmq.routingkeyMessageDetails}")
	private String routingkeyMessageDetails;
	
	/** 丁丁消息的routingkey */
	@Value("${spring.rabbitmq.routingkeyDingMessage}")
	private String routingkeyDingMessage;

	/** 普通消息的routingkey */
	@Value("${spring.rabbitmq.routingkeyMessage}")
	private String routingkeyMessage;
	
	/** 用户队列的routingkeyUser */
	@Value("${spring.rabbitmq.routingkeyUser}")
	private String routingkeyUser;
	
	/** 部门队列routingkey */
	@Value("${spring.rabbitmq.routingkeyDepartment}")
	private String routingkeyDepartment;
	
	public String getDepartmentQueue() {
		return departmentQueue;
	}

	public void setDepartmentQueue(String departmentQueue) {
		this.departmentQueue = departmentQueue;
	}

	public String getRoutingkeyDepartment() {
		return routingkeyDepartment;
	}

	public void setRoutingkeyDepartment(String routingkeyDepartment) {
		this.routingkeyDepartment = routingkeyDepartment;
	}

	public String getMessageDetailsQueue() {
		return messageDetailsQueue;
	}

	public void setMessageDetailsQueue(String messageDetailsQueue) {
		this.messageDetailsQueue = messageDetailsQueue;
	}
	public String getRoutingkeyMessageDetails() {
		return routingkeyMessageDetails;
	}

	public void setRoutingkeyMessageDetails(String routingkeyMessageDetails) {
		this.routingkeyMessageDetails = routingkeyMessageDetails;
	}
	public String getMessageQueue() {
		return messageQueue;
	}

	public String getMessageDingQueue() {
		return messageDingQueue;
	}

	public String getRoutingkeyDingMessage() {
		return routingkeyDingMessage;
	}
	
	public String getRoutingkeyMessage() {
		return routingkeyMessage;
	}

	public void setMessageQueue(String messageQueue) {
		this.messageQueue = messageQueue;
	}

	public void setMessageDingQueue(String messageDingQueue) {
		this.messageDingQueue = messageDingQueue;
	}

	public void setRoutingkeyMessage(String routingkeyMessage) {
		this.routingkeyMessage = routingkeyMessage;
	}

	public void setRoutingkeyDingMessage(String routingkeyDingMessage) {
		this.routingkeyDingMessage = routingkeyDingMessage;
	}

	@Override
	public String toString() {
		return "BaseVar [messageQueue=" + messageQueue + ", messageDingQueue=" + messageDingQueue
				+ ", messageDetailsQueue=" + messageDetailsQueue + ", routingkeyMessageDetails="
				+ routingkeyMessageDetails + ", routingkeyDingMessage=" + routingkeyDingMessage + ", routingkeyMessage="
				+ routingkeyMessage + "]";
	}

	public String getRoutingkeyUser() {
		return routingkeyUser;
	}

	public void setRoutingkeyUser(String routingkeyUser) {
		this.routingkeyUser = routingkeyUser;
	}
	
	public String getUserQueue() {
		return userQueue;
	}

	public void setUserQueue(String userQueue) {
		this.userQueue = userQueue;
	}
	
	
	
}
